import http from '../axios'

export default {
  addEntranceClickTimes(type) {
    return http('post', '/front/product/addEntranceClickTimes', { type: type });
  },
  getEntranceList(type) {
    return http('get', '/front/product/getEntranceList', { type: type });
  },
  addProductClickTimes(id, phone) {
    return http('post', '/front/product/addProductClickTimes', { id: id, phone: phone });
  },
  getMarketList() {
    return http('get', '/front/product/getMarketList');
  },
  getHomeList() {
    return http('get', '/front/product/getHomeList');
  }
}